package xyz.lovegu.server.bus.service;

import xyz.lovegu.server.bus.vos.HealthVo;
import xyz.lovegu.server.sys.common.ResultObj;

/**
 * @author 老顾
 * @title: HealthService
 * @projectName campus-prevention-system
 * @email: 1437594522@qq.com
 * @date 2022/5/10 11:00
 */
public interface HealthService {

    /**
     * 增加健康填报表
     *
     * @param healthVo
     * @return
     */
    ResultObj addHealth(HealthVo healthVo);

    /**
     * 删除单个健康表
     *
     * @param healthVo
     * @return
     */
    ResultObj deleteBatchHealth(HealthVo healthVo);

    /**
     * 查询某一用户的健康填报表
     *
     * @param healthVo
     * @return
     */
    Object getHealthByUserId(HealthVo healthVo);

    /**
     * 获取所有健康填报表
     *
     * @param healthVo
     * @return
     */
    Object getAllHealth(HealthVo healthVo);
}
